All Questions
1 question
5votes
2answers
839views
Passing a hardcoded page/post ID into `get_post`
I see people using this to pull in page content on their home pages, remove specific categories from archives etc.. e.g. $post = get_post( 5 ); Someone suggested this was bad practice. Why is it bad ...